package com.ruoyi.yyq.service;

import java.util.List;
import com.ruoyi.yyq.domain.CarRepairReservation;

/**
 * 维修预约Service接口
 * 
 * @author ruoyi
 * @date 2025-05-12
 */
public interface ICarRepairReservationService 
{
    /**
     * 查询维修预约
     * 
     * @param id 维修预约主键
     * @return 维修预约
     */
    public CarRepairReservation selectCarRepairReservationById(Long id);

    /**
     * 查询维修预约列表
     * 
     * @param carRepairReservation 维修预约
     * @return 维修预约集合
     */
    public List<CarRepairReservation> selectCarRepairReservationList(CarRepairReservation carRepairReservation);

    /**
     * 新增维修预约
     * 
     * @param carRepairReservation 维修预约
     * @return 结果
     */
    public int insertCarRepairReservation(CarRepairReservation carRepairReservation);

    /**
     * 修改维修预约
     * 
     * @param carRepairReservation 维修预约
     * @return 结果
     */
    public int updateCarRepairReservation(CarRepairReservation carRepairReservation);

    /**
     * 批量删除维修预约
     * 
     * @param ids 需要删除的维修预约主键集合
     * @return 结果
     */
    public int deleteCarRepairReservationByIds(Long[] ids);

    /**
     * 删除维修预约信息
     * 
     * @param id 维修预约主键
     * @return 结果
     */
    public int deleteCarRepairReservationById(Long id);
}
